Not today...

Filed under jasmine...

comments

Snippet

Test promises with jasmine

Jasmine is a good testing framework, which I really like, it is really powerfull and has just the amount of features to perform a huge variety of tests. At some point I had to tests promises, and more generally testing that some part of a function is not called (you will have to adapt the snippet but the idea is here). It is pretty simple, but not well known (I checked some stackoverflow threads before finding this). Read More...

Tagged jasmine , tests